package com.gxar.marketdelivery.interfaces.web.result;

import com.gxar.marketdelivery.shared.model.DeliveryMaterialModel;
import com.gxar.marketdelivery.shared.model.DeliveryRuleModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author nice
 * @version 1.0
 * @created 2023/7/21.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("投放计划信息")
public class DeliveryPlanResult extends BaseOpResult {

    @ApiModelProperty("投放组id")
    private Long deliverySetId;

    @ApiModelProperty("资源位id")
    private String resSlotId;


    @ApiModelProperty("资源位名称")
    private String resSlotName;

    @ApiModelProperty("资源位Key")
    private String resSlotKey;

    @ApiModelProperty("投放计划名")
    private String planName;

    @ApiModelProperty("优先级")
    private Integer priority;

    @ApiModelProperty("展示数量")
    private Integer totalShowCount;

    @ApiModelProperty("投放状态")
    private Integer planStatus;

    @ApiModelProperty("投放规则")
    private DeliveryRuleModel deliveryRuleModel;

    @ApiModelProperty("投放物料")
    private DeliveryMaterialModel materialModel;

    @ApiModelProperty("是否被订阅")
    private Boolean subscribe;
}
